﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace lcs.Web.DemandPlan
{
    public partial class ListDemandPlanYSH : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["login"] != null)
                {
                    DataSet ds = Session["login"] as DataSet;

                    string user_id = ds.Tables[0].Rows[0]["user_id"].ToString();

                    BindYiban(user_id);
                }
                // BindDaiBan();
            }
        }

        private void BindYiban(string person_id)
        {

            DataSet check = new Maticsoft.BLL.workFlow().GetYiBanCheck(person_id,1,"审核");

            this.GridView1.DataSource = check;
            this.GridView1.DataBind();
        }
    }
}